#ui-image-preview {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: rgb(0, 0, 0, 0.5);
    z-index: 2023;
    display: none;
}

.ui-image-preview-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-image-preview-bg img {
    max-height: 100%;
    max-width: 100%;
}

.ui-image-preview-left,
.ui-image-preview-right,
.ui-image-preview-close {
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #606266;
    color: #fff;
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: center;

}

.ui-image-preview-close .iconfont {
    font-size: 17px;
}

.ui-image-preview-left {
    left: 40px;
    top: 50%;
    margin-top: -20px;
    display: none;
}

.ui-image-preview-right {
    right: 40px;
    top: 50%;
    margin-top: -20px;
    display: none;
}

.ui-image-preview-close:hover .iconfont,
.ui-image-preview-right:hover .iconfont,
.ui-image-preview-left:hover .iconfont {
    color: #A9C6FF;
}

.ui-image-preview-tool {
    width: 472px;
    height: 83px;
    padding: 0 23px;
    background-color: rgb(0, 0, 0, 0.5);
    border-color: #fff;
    border-radius: 20px 20px 0px 0px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    transition: all 0.3s;
}

.ui-image-preview-tool>span {
    cursor: pointer;
}

.ui-image-preview-tool>span:hover .iconfont {
    color: #A9C6FF;
}

.ui-image-preview-tool .iconfont {
    font-size: 30px;
    color: #fff;
}

.ui-image-preview-tool-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-image-preview-bg img {
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: transform 0.2s;
}

.ui-image-preview-disabled {
    cursor: not-allowed !important;
    opacity: 0.3;
}